package cn.zhang.dao;

import java.util.List;
import java.util.Map;

import cn.zhang.entity.User;

public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    
    //批量插入
    int insertList(List<User> list);
    
    //查询全部数据
    List<User> loadAllData(Map<String,Object> params);
}